import http from "@/api/http";

export default {
  // 获取用户信息
  getUserInfo({commit}) {
    http({
      url: '/token/admin/user/get',
      method: "get",
    }).then(res => {
      window.$mySessionstorage.set('userInfo', res.data);
      commit('setUserInfo', res.data);
    })
  },

};
